package com.antis.olsl.library.bean;

/**
 * @ProjectName: ATS_OLSL
 * @Package: com.antis.olsl.bean
 * @ClassName: PurchaseSlipInfo
 * @Description: 采购单信息
 * @Author: 羊琪
 * @CreateDate: 2020/3/30 19:52
 * @UpdateDate: 2020/3/30 19:52
 * @UpdateRemark: 更新说明
 * @Version: 1.0
 */
public class PurchaseSlipInfo {
    private String createTime;
    private String purchaseNumber;
    private String supplierName;
    private int auditStatus;
    private String auditStatusText;
    private int status;
    private String deptName;
    private String creater;
    private int distributionMode;
    private String warehouseName;
    private int totalPurchaseNum;
    private double totalPurchasePrice;
    private double totalPriceTax;
    private double totalPurchaseRiceAmount;
    private String statusText;
    private String resultText;
    private int result;
    private String distributionText;
    private String IMWarehouseNumber;
    private double purchaseDiffAmount;
    private int receiveTotalCount;
    private String IMWarehouseName;
    private double retailPriceAmount;

    private int receiveNum;
    private double purchaseDiffPrice;
    private double retailDiffPrice;
    private int purchaseNum;
    private int differentNum;
    private int totalDifferentNum;

    public int getDifferentNum() {
        return differentNum;
    }

    public void setDifferentNum(int differentNum) {
        this.differentNum = differentNum;
    }

    public int getPurchaseNum() {
        return purchaseNum;
    }

    public void setPurchaseNum(int purchaseNum) {
        this.purchaseNum = purchaseNum;
    }

    public int getReceiveNum() {
        return receiveNum;
    }

    public void setReceiveNum(int receiveNum) {
        this.receiveNum = receiveNum;
    }

    public double getPurchaseDiffPrice() {
        return purchaseDiffPrice;
    }

    public void setPurchaseDiffPrice(double purchaseDiffPrice) {
        this.purchaseDiffPrice = purchaseDiffPrice;
    }

    public double getRetailDiffPrice() {
        return retailDiffPrice;
    }

    public void setRetailDiffPrice(double retailDiffPrice) {
        this.retailDiffPrice = retailDiffPrice;
    }

    public String getIMWarehouseNumber() {
        return IMWarehouseNumber;
    }

    public void setIMWarehouseNumber(String IMWarehouseNumber) {
        this.IMWarehouseNumber = IMWarehouseNumber;
    }

    public double getPurchaseDiffAmount() {
        return purchaseDiffAmount;
    }

    public void setPurchaseDiffAmount(double purchaseDiffAmount) {
        this.purchaseDiffAmount = purchaseDiffAmount;
    }

    public int getReceiveTotalCount() {
        return receiveTotalCount;
    }

    public void setReceiveTotalCount(int receiveTotalCount) {
        this.receiveTotalCount = receiveTotalCount;
    }

    public String getIMWarehouseName() {
        return IMWarehouseName;
    }

    public void setIMWarehouseName(String IMWarehouseName) {
        this.IMWarehouseName = IMWarehouseName;
    }

    public double getRetailPriceAmount() {
        return retailPriceAmount;
    }

    public void setRetailPriceAmount(double retailPriceAmount) {
        this.retailPriceAmount = retailPriceAmount;
    }

    public int getTotalDifferentNum() {
        return totalDifferentNum;
    }

    public void setTotalDifferentNum(int totalDifferentNum) {
        this.totalDifferentNum = totalDifferentNum;
    }

    public String getDistributionText() {
        return distributionMode == 0 ? "统配" : "直配";
    }

    public String getResultText() {
        return result == 0 ? "通过" : "不通过";
    }

    public String getStatusText() {
        return status == 0 ? "在途" : "验收";
    }

    public int getResult() {
        return result;
    }

    public void setResult(int result) {
        this.result = result;
    }

    public int getStatus() {
        return status;
    }

    public void setStatus(int status) {
        this.status = status;
    }

    public String getDeptName() {
        return deptName;
    }

    public void setDeptName(String deptName) {
        this.deptName = deptName;
    }

    public String getCreater() {
        return creater;
    }

    public void setCreater(String creater) {
        this.creater = creater;
    }

    public int getDistributionMode() {
        return distributionMode;
    }

    public void setDistributionMode(int distributionMode) {
        this.distributionMode = distributionMode;
    }

    public String getWarehouseName() {
        return warehouseName;
    }

    public void setWarehouseName(String warehouseName) {
        this.warehouseName = warehouseName;
    }

    public int getTotalPurchaseNum() {
        return totalPurchaseNum;
    }

    public void setTotalPurchaseNum(int totalPurchaseNum) {
        this.totalPurchaseNum = totalPurchaseNum;
    }

    public double getTotalPurchasePrice() {
        return totalPurchasePrice;
    }

    public void setTotalPurchasePrice(double totalPurchasePrice) {
        this.totalPurchasePrice = totalPurchasePrice;
    }

    public double getTotalPriceTax() {
        return totalPriceTax;
    }

    public void setTotalPriceTax(double totalPriceTax) {
        this.totalPriceTax = totalPriceTax;
    }

    public double getTotalPurchaseRiceAmount() {
        return totalPurchaseRiceAmount;
    }

    public void setTotalPurchaseRiceAmount(double totalPurchaseRiceAmount) {
        this.totalPurchaseRiceAmount = totalPurchaseRiceAmount;
    }

    public String getCreateTime() {
        return createTime;
    }

    public void setCreateTime(String createTime) {
        this.createTime = createTime;
    }

    public String getPurchaseNumber() {
        return purchaseNumber;
    }

    public void setPurchaseNumber(String purchaseNumber) {
        this.purchaseNumber = purchaseNumber;
    }

    public String getSupplierName() {
        return supplierName;
    }

    public void setSupplierName(String supplierName) {
        this.supplierName = supplierName;
    }

    public int getAuditStatus() {
        return auditStatus;
    }

    public void setAuditStatus(int auditStatus) {
        this.auditStatus = auditStatus;
    }

    public String getAuditStatusText() {
        switch (auditStatus) {
            case 0:
                return "待审核";
            case 1:
                return "采购审核";
            case 2:
                return "财务审核";
            default:
                return "待审核";
        }
    }

    public void setAuditStatusText(String auditStatusText) {
        this.auditStatusText = auditStatusText;
    }

}
